package cn.wolfcode.p2p.business.service;

import cn.wolfcode.p2p.base.qo.QueryObject;
import cn.wolfcode.p2p.business.domain.RechargeOffline;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRechargeOfflineService {
    int save(RechargeOffline rechargeOffline);
    int update(RechargeOffline rechargeOffline);

    RechargeOffline get(Long id);

    PageInfo queryPage(QueryObject qo);

    /**
     * 充值申请
     * @param rechargeOffline
     */
    void apply(RechargeOffline rechargeOffline);

    /**
     * 审核充值
     * @param id
     * @param remark
     * @param state
     */
    void audit(Long id, String remark, Integer state);
}
